﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MongoDB.Bson;
using System.ComponentModel.DataAnnotations;

namespace MongoServices.Example.Models.ViewModels
{
	public class BlogPostDetailViewModel
	{
		public string Title { get; set; }
		public ObjectId Id { get; set; }

		[DataType(DataType.Date)]
		public DateTime DatePosted { get; set; }

		public string Body { get; set; }
	}
}